<style>
* {
	box-sizing: border-box;
	font-family: 'Trebuchet MS', 'Arial Unicode MS', sans-serif;
	font-weight: normal;
}

/* section class */
.Casino-Games {
	font-family: 'Trebuchet MS', 'Arial Unicode MS', sans-serif;
	margin: 5px 5px 5px 5px;
}

/*section header clas */
.Casino-Games-Header {
	/* background-color: #075eea; */
	color: #fbfafa;
	width: 100%;
	padding: 5px 10px;
	text-align: left;
	font-size: 16px;
	/* border-radius: 5px 5px 0px 0px; */
	line-height: 24px !important;
	/* height: 32px; */
	border-top: 1px solid #535353;
    /* border-top: 1px solid #075eea; */
}

#casino-games-banner-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr); /* Default to 2 columns */
	gap: 5px;
}

.casino-games-banner-holder {
	border-radius: 3px;
	overflow: hidden;
}

.casino-games-banner {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	text-decoration: none;
	width: 100%;
	margin: auto;
}

.casino-games-banner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.casino-games-name-holder {
	position: relative;
	margin: auto;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 3px 10px;
	color: #fbfafa;
	background-color: #292d35;
	height: 32px;
	border-left: 1px solid #444;
	border-right: 1px solid #444;
	border-bottom: 1px solid #444;
    border-radius: 0px 0px 3px 3px;
}

.casino-games-name {
	font-size: 12px;
	font-weight: bold;
	text-align: left; /* Move text to the left */
}

.casino-games-provider-logo {
	margin-left: auto; /* Push logo to the right */
}

.casino-games-provider-logo img {
	width: auto;
    height: 24px;
    margin-bottom: 1px;
    position: relative;
	opacity: 0.5;
}

.fa-gem {
	font-size: 16px;
}

.fa-medal {
	font-size: 16px;
}

.live-casino-all {
	font-size: 11px;
	color: #eabd31;
	margin-left: 5px;
	opacity: 0.8;
}

.live-casino-all-text {
	font-size: 11px;
	color: #7d7d7c;
	float: right;
	/* border: 1px solid #b8b6b5; */
    /* border-radius: 5px; */
    /* padding: 0 10px; */
}

.live-casino-all-text:hover {
	color: #eabd31;
	opacity: 0.8;
}

.fa-star.favorite-game  {
	position: absolute;
    top: 5px;
    left: 5px;
    font-size: 20px;
    color: #b8b6b5;
	font-weight: normaal;
	opacity: 0.4;
}

.fa-star.favorite-game:hover  {
    color: #eabd31;
	content: "fa-solid fa-star";
	opacity: 1.0;
}

/* Style for favorite stars */
.favorite-game.fas {
  color: #eabd31; /* Gold / yellow */
	opacity: 0.8;
}

.favorite-game.far {
  color: #ccc; /* Light gray for not favorite */
}

/* Optional: add hover effect */
.favorite-game:hover {
  cursor: pointer;
  color: #eabd31;
}

@media (max-width: 350px) {
  /* For tablets and smaller screens, make it 2 columns and 2 rows */
  #casino-games-banner-grid {
    grid-template-columns: repeat(1, 1fr); /* 2 columns */
    grid-template-rows: repeat(4, 1fr); /* 2 rows */
  }
}

@media (min-width: 351px) and (max-width: 528px) {
  /* For tablets and smaller screens, make it 2 columns and 2 rows */
  #casino-games-banner-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    grid-template-rows: repeat(2, 1fr); /* 2 rows */
  }
}

@media (min-width: 529px) and (max-width: 768px) {
  /* For tablets and smaller screens, make it 2 columns and 2 rows */
  #casino-games-banner-grid {
    grid-template-columns: repeat(3, 1fr); /* 2 columns */
    grid-template-rows: repeat(2, 1fr); /* 2 rows */
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* For medium screens (tablets), adjust to 2 columns */
  #casino-games-banner-grid {
    grid-template-columns: repeat(4, 1fr); /* 2 columns */
  }
}

@media (min-width: 1025px) {
  /* For larger screens (desktops), adjust to 4 columns */
  #casino-games-banner-grid {
    grid-template-columns: repeat(5, 1fr); /* 2 columns */
	}
}

</style>
